##parameters=model

### This script needs the 'sequences' table added to MySQL (see mysql.sql)

modelName = model.title_or_id()

sequence_id = context.knowledgeengine_assessmentstorageservice.generateSequentialIdentity( modelName )

return "%s-%s" % ( modelName, sequence_id )